<?php
switch ($strAction) {
	case 'index':	
		if($AppUI->id <= 0)	{
			$arrCSS = array	(			
				HOST_STATICS . 'css/jquery-select.css',				
				HOST_STATICS . 'css/homepage.css'
				
			);
			$arrJSBefore = array(
						HOST_STATICS . 'js/library/jquery.select.js', 
						HOST_STATICS . 'js/library/init.js'
						
			);	
			$arrJS 		= array	(							
						HOST_STATICS . 'js/language/index/register.js',
						HOST_STATICS . 'js/index/homepage.js'
			);
		} else {
			$arrCSS = array	(
						HOST_STATICS . 'css/jquery-select.css',
						HOST_STATICS . 'css/jquery.jscrollpane.css',
						HOST_STATICS . 'js/easyslider/easy.slider.css',
						HOST_STATICS . 'js/tooltip/tipsy.css',
						HOST_STATICS . 'css/index.css'				
			);
			$arrJSBefore = array(
						HOST_STATICS . 'js/library/jquery.select.js', 
						HOST_STATICS . 'js/library/init.js'
						
			);
			$arrJS 		= array	(		
						HOST_STATICS . 'js/easyslider/easySlider1.5.js',
						HOST_STATICS . 'js/tooltip/jquery.tipsy.js',
						HOST_STATICS . 'js/scrollbar/jquery.mousewheel.min.js',
						HOST_STATICS . 'js/scrollbar/jquery.jscrollpane.min.js',
						HOST_STATICS . 'js/language/index/index.js',
						HOST_STATICS . 'js/index/index.js'
			);
		}
		break;
	case 'register':
		$arrCSS = array	(			
			HOST_STATICS . 'css/jquery-select.css',
			HOST_STATICS . 'css/register.css'
			
		);
		$arrJSBefore = array(
						HOST_STATICS . 'js/library/jquery.select.js', 
						HOST_STATICS . 'js/library/init.js'
						
		);		
		$arrJS = array	(			
			HOST_STATICS . 'js/language/index/register.js',
			HOST_STATICS . 'js/index/register.js'
		);
		break;
	case 'activehelp':
	case 'activeaccount':
		$arrCSS = array	(			
			HOST_STATICS . 'css/active-help.css'
		);
		break;
	case 'getcodeaccount':
		$arrCSS = array	(	
			HOST_STATICS . 'js/tooltip/tipsy.css',
			HOST_STATICS . 'css/active-help.css'
		);
		$arrJS = array	(
			HOST_STATICS . 'js/tooltip/jquery.tipsy.js',
			HOST_STATICS . 'js/language/index/getcodeaccount.js',
			HOST_STATICS . 'js/index/getcodeaccount.js'
		);
		break;
	case 'forgetpassword':
		$arrCSS = array	(	
			HOST_STATICS . 'js/tooltip/tipsy.css',
			HOST_STATICS . 'css/forget-password.css'
			
		);
		$arrJS = array	(	
			HOST_STATICS . 'js/tooltip/jquery.tipsy.js',
			HOST_STATICS . 'js/language/index/forgetpassword.js',
			HOST_STATICS . 'js/index/forgetpassword.js'
		);
		break;
	case 'resetpassword':
		$arrCSS = array	(			
			HOST_STATICS . 'js/tooltip/tipsy.css',
			HOST_STATICS . 'css/forget-password.css'
		);
		$arrJS = array	(			
			HOST_STATICS . 'js/tooltip/jquery.tipsy.js',
			HOST_STATICS . 'js/language/index/resetpassword.js',
			HOST_STATICS . 'js/index/resetpassword.js'
		);
		break;
	case 'loginerr':
		$arrCSS = array	(			
			HOST_STATICS . 'css/forget-password.css'
		);
		break;
	case 'e404':
		$arrCSS = array	(			
			HOST_STATICS . 'css/404.css'
		);
		break;
}
?>